﻿using System;

namespace web01.Models
{
    public class ResultModel<T>
    {
        /// <summary>
        /// 请求状态
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public T Data { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        public string ResultMsg { get; set; }

        /// <summary>
        /// 服务器时间
        /// </summary>
        public DateTime SyncDate { get { return DateTime.Now; } }
    }
}